﻿using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Coffee;

namespace Nop.Data.Mapping.Coffee
{
    public partial class RecipeMap : EntityTypeConfiguration<Recipe>
    {
        public RecipeMap() 
        {
            this.ToTable("EcrRecipe");
            this.HasKey(d => d.Id);
            this.Property(d => d.Name).IsRequired().HasMaxLength(50);
            this.Property(d => d.IsActive);

        }
    }
}
